package com.maiji.cloud.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BaseMetaResDto<T> extends BaseResDto{

    @ApiModelProperty(value="返回数据")
    private T data;

    @ApiModelProperty(value="分页信息")
    private ResMetaData resMetaData;

    public BaseMetaResDto(Status status) {
        super(status);
    }

}
